﻿using ChuanYe.CountyFireManagement.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class FireTeamResponseRequest
    {

        /// <summary>
        /// 主键
        /// </summary>
        public int TeamResponseId { get; set; }

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 联动部门编号 集合
        /// </summary>
        public List<int> TeamDepartmentIds { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 事发时间
        /// </summary>
        public DateTime? TransDatetime { get; set; }
    }

    public class TeamDepartmentRequest {

        /// <summary>
        /// 主键
        /// </summary>
        public int TeamDepartmentId { get; set; }

        /// <summary>
        /// 联动响应单位名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 选填 增加时间
        /// </summary>
        public DateTime? TransDatetime { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public int UserId { get; set; }
        

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 座机
        /// </summary>
        public string Tel { get; set; }
    }

    public class FireTeamDepartmentSearchRequest : RequestPageBase
    {
        /// <summary>
        /// Name Phone Tel
        /// </summary>
        public override string Keyword { get; set; }
    }

    public class RemoveTeamDepartmentRequest 
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int TeamDepartmentId { get; set; }
    }

}
